/*
 * @Author: orc
 * @we_chat: orc_develop
 * @qq群: 790373986
 * @LastEditors: orc
 * @Description: 大厅事件
 * @Date: 2019-03-22 22:34:18
 * @LastEditTime: 2019-03-25 21:57:57
 */

import orc from "../../orc";
const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {
    @property(cc.Node)
    money_node:cc.Node = null;
   
    onLoad () {
        this.event_init();
    }

    //事件注册
    event_init(){        
        orc.event_manager.add_listener('win_open_rank',this.win_open_rank.bind(this));   
    }

    win_open_rank(){
        orc.win_manager.win_open('win_rank',0);
    }
   

    start () {

    }

    // update (dt) {}
}
